package com.zero.clinic.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class PatientDiagnose {
    private Long diagnoseId;

    private Long patientRegisterId;

    private String patientMobile;

    private String allergicHistory;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date symptomEmergeTime;
    // 定义一个patientBirthdayStr用于在更新门诊挂号信息时传给前端
    private String symptomEmergeTimeStr;

    private Long diagnoseType;

    private Long isEpidemic;

    private String symptoms;

    private String diagnoseResult;

    private String advice;

    private String remark;

    private Long recipeId;

    private String patientName;
    private Long patientGender;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date patientBirthday;
    // 定义一个patientBirthdayStr用于在更新门诊挂号信息时传给前端
    private String patientBirthdayStr;

    private String patientAddress;
    private String registerDept;
    private String doctor;
    private String recipeName;
    private String recipeType;
    private BigDecimal recipeMoney;


    public String getDiagnoseResult() {
        return diagnoseResult;
    }

    public void setDiagnoseResult(String diagnoseResult) {
        this.diagnoseResult = diagnoseResult;
    }

    public String getSymptomEmergeTimeStr() {
        return symptomEmergeTimeStr;
    }

    public void setSymptomEmergeTimeStr(String symptomEmergeTimeStr) {
        this.symptomEmergeTimeStr = symptomEmergeTimeStr;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Long getPatientGender() {
        return patientGender;
    }

    public void setPatientGender(Long patientGender) {
        this.patientGender = patientGender;
    }

    public Date getPatientBirthday() {
        return patientBirthday;
    }

    public void setPatientBirthday(Date patientBirthday) {
        this.patientBirthday = patientBirthday;
    }

    public String getPatientBirthdayStr() {
        return patientBirthdayStr;
    }

    public void setPatientBirthdayStr(String patientBirthdayStr) {
        this.patientBirthdayStr = patientBirthdayStr;
    }

    public String getPatientAddress() {
        return patientAddress;
    }

    public void setPatientAddress(String patientAddress) {
        this.patientAddress = patientAddress;
    }

    public String getRegisterDept() {
        return registerDept;
    }

    public void setRegisterDept(String registerDept) {
        this.registerDept = registerDept;
    }

    public String getDoctor() {
        return doctor;
    }

    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }

    public String getRecipeName() {
        return recipeName;
    }

    public void setRecipeName(String recipeName) {
        this.recipeName = recipeName;
    }

    public String getRecipeType() {
        return recipeType;
    }

    public void setRecipeType(String recipeType) {
        this.recipeType = recipeType;
    }

    public BigDecimal getRecipeMoney() {
        return recipeMoney;
    }

    public void setRecipeMoney(BigDecimal recipeMoney) {
        this.recipeMoney = recipeMoney;
    }

    public Long getDiagnoseId() {
        return diagnoseId;
    }

    public void setDiagnoseId(Long diagnoseId) {
        this.diagnoseId = diagnoseId;
    }

    public Long getPatientRegisterId() {
        return patientRegisterId;
    }

    public void setPatientRegisterId(Long patientRegisterId) {
        this.patientRegisterId = patientRegisterId;
    }

    public String getPatientMobile() {
        return patientMobile;
    }

    public void setPatientMobile(String patientMobile) {
        this.patientMobile = patientMobile;
    }

    public String getAllergicHistory() {
        return allergicHistory;
    }

    public void setAllergicHistory(String allergicHistory) {
        this.allergicHistory = allergicHistory;
    }

    public Date getSymptomEmergeTime() {
        return symptomEmergeTime;
    }

    public void setSymptomEmergeTime(Date symptomEmergeTime) {
        this.symptomEmergeTime = symptomEmergeTime;
    }

    public Long getDiagnoseType() {
        return diagnoseType;
    }

    public void setDiagnoseType(Long diagnoseType) {
        this.diagnoseType = diagnoseType;
    }

    public Long getIsEpidemic() {
        return isEpidemic;
    }

    public void setIsEpidemic(Long isEpidemic) {
        this.isEpidemic = isEpidemic;
    }

    public String getSymptoms() {
        return symptoms;
    }

    public void setSymptoms(String symptoms) {
        this.symptoms = symptoms;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getRecipeId() {
        return recipeId;
    }

    public void setRecipeId(Long recipeId) {
        this.recipeId = recipeId;
    }

    @Override
    public String toString() {
        return "PatientDiagnose{" +
                "diagnoseId=" + diagnoseId +
                ", patientRegisterId=" + patientRegisterId +
                ", patientMobile='" + patientMobile + '\'' +
                ", allergicHistory='" + allergicHistory + '\'' +
                ", symptomEmergeTime=" + symptomEmergeTime +
                ", symptomEmergeTimeStr='" + symptomEmergeTimeStr + '\'' +
                ", diagnoseType=" + diagnoseType +
                ", isEpidemic=" + isEpidemic +
                ", symptoms='" + symptoms + '\'' +
                ", diagnoseResult='" + diagnoseResult + '\'' +
                ", advice='" + advice + '\'' +
                ", remark='" + remark + '\'' +
                ", recipeId=" + recipeId +
                ", patientName='" + patientName + '\'' +
                ", patientGender=" + patientGender +
                ", patientBirthday=" + patientBirthday +
                ", patientBirthdayStr='" + patientBirthdayStr + '\'' +
                ", patientAddress='" + patientAddress + '\'' +
                ", registerDept='" + registerDept + '\'' +
                ", doctor='" + doctor + '\'' +
                ", recipeName='" + recipeName + '\'' +
                ", recipeType='" + recipeType + '\'' +
                ", recipeMoney=" + recipeMoney +
                '}';
    }
}